/**
 * sysPermissionDaoHibernate
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:资源管理管理
 * 
 * 历史版本:2017-03-28 v1.0.0 lunli  创建:
 * 
 */
 package com.fmjr.sys.sysPermission.dao;

import com.fmjr.common.base.util.Pager;
import com.fmjr.sys.sysPermission.bean.SysPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysPermissionDao{
	
	public Integer createSysPermission(SysPermission sysPermission);
	public Integer deleteSysPermissionById(Long id);
	public Integer updateSysPermission(SysPermission sysPermission);

	public List<SysPermission> selectSysPermissionAll();

	public SysPermission selectSysPermissionByT(SysPermission sysPermission);
	public SysPermission selectSysPermissionById(Long id);
	
	public List<SysPermission> selectSysPermissionList(Pager<SysPermission> pager);	
	
	public Integer selectSysPermissionCount(Pager<SysPermission> pager);
	
	public void insertSysPermissionBatch(List<SysPermission> list);
	
	public List<SysPermission> searchPermissionByIds(@Param(value = "ids") List<Long> ids);
	public List<SysPermission> getSysPermissionAll();
}
